#include "../source/server.hpp"

int main()
{

    Socket client;
    client.CreateClient(21000, "127.0.0.1");
    for (int i = 0; i < 5; i++)
    {
        std::string str = "yoisakikanade";
        client.Send(&str[0], str.size());
        char buf[1024] = {0};
        client.Recv(buf, 1023);
        DBG_LOG("%s", buf);
        // cout << buf << endl;

        sleep(1);
    }
    while (1)
        sleep(1);
    client.Close();
    return 0;
}